<?PHP // config.php

   // The mserv host
   if(isset($_POST["host"]) && $_POST["host"] != "") {
	$host = $_POST["host"];
	$_SESSION["mservhost"] = $host;
   } else if(isset($_SESSION["mservhost"])) {
   	$host = $_SESSION["mservhost"];
   } else { // default host
	$host = "localhost";
   }

   if(isset($_POST["language"])) {
	$language = $_POST["language"];
	$_SESSION["LANG"]=$language;
   } else {
   	if(isset($_SESSION["LANG"])) {
	   $language = $_SESSION["LANG"];
	} 
   }

   // Full path to "mservcmd" binary on your system
   $mservcmd = "mservcmd";

   // Interface colors
   $bgcolor    = "#990000";
   $textcolor  = "#ff9900";
   $linkcolor  = "#ffcc66";
   $vlinkcolor = "#ffcc66";

   // Filter Menu
   $filters = array (
       "Martin's Unheard" => "!(martin=heard)",
       "Martin's Best" => "!(martin=awful|martin=bad|martin=neutral)",
       "Sarah's Best" => "sarah=good|sarah=superb",
       "Martin + Sarah" => "(sarah=superb|sarah=good)&(martin=superb|martin=good)",
       "Electronic" => "electronic=good|electronic=superb",
       "Smooth" => "smooth=good|smooth=superb",
       "Groovy" => "groovy=good|groovy=superb",
       "Quiet" => "quiet=good|quiet=superb"
       );

?>
